#
# Be sure to run `pod lib lint MySDK.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'MySDK'
  s.version          = '0.1.0'
  s.summary          = 'A short description of MySDK.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://github.com/yueshuai/MySDK'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'yueshuai' => 'shuai.yue@takuad.com' }
  s.source           = { :git => 'https://github.com/yueshuai/MySDK.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'

  s.source_files = 'MySDK/Classes/**/*'
  s.static_framework = true
    
  s.requires_arc = true

  s.frameworks = 'SystemConfiguration','CoreGraphics','Foundation','UIKit','AVFoundation','AdSupport','AudioToolbox','CoreMedia','StoreKit','WebKit','AppTrackingTransparency','CoreMotion','CoreTelephony','MessageUI','SafariServices','CoreLocation','MediaPlayer','JavaScriptCore','CoreAudio','CoreFoundation','QuartzCore','NetworkExtension','Accelerate','CoreImage','CoreText','ImageIO','MapKit','MobileCoreServices','Security'
    
    # s.pod_target_xcconfig =   {'OTHER_LDFLAGS' => ['-lObjC']}
    
    s.libraries = 'c++', 'z', 'sqlite3', 'xml2', 'resolv','bz2.1.0','bz2','resolv.9','iconv','c++abi'

    # s.pod_target_xcconfig = { 'VALID_ARCHS' => 'x86_64 armv7 armv7s arm64' }
    # s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) TOPONDEBUG=1' }
    s.pod_target_xcconfig = {
    'OTHER_LDFLAGS' => ['-lObjC'],
    'VALID_ARCHS' => 'x86_64 armv7 armv7s arm64',
    'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) TOPONDEBUG=1'
  }
  
  # s.resource_bundles = {
  #   'MySDK' => ['MySDK/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
